package com.zghl.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


public class Equipment implements Serializable {
    private int id; //设备Id
    private String equipmentCode; //设备编码
    private String equipmentName; //设备名称
    private String isMainEquipment; //是否主设备
    private String mainEquipmentCode; //主设备编码
    private String systemCode; //所属系统编码
    private String equipmentClassify;//设备分类
    private String unitType;//设备型号
    private String manufacturer;//生产厂家
    private String manufacturerNumber;//出厂编号
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productDate;//出厂日期
    private String debugUnit;//调试单位
    private int installationNumber;//安装数量
    private String installationSite;//安装位置
    private Date putDate;//投运日期
    private String equipmentRating;//设备评级
    private String equipmentStatus;//设备状态

    @Override
    public String toString() {
        return "Equipment{" +
                "id=" + id +
                ", equipmentCode='" + equipmentCode + '\'' +
                ", equipmentName='" + equipmentName + '\'' +
                ", isMainEquipment='" + isMainEquipment + '\'' +
                ", mainEquipmentCode='" + mainEquipmentCode + '\'' +
                ", systemCode='" + systemCode + '\'' +
                ", equipmentClassify='" + equipmentClassify + '\'' +
                ", unitType='" + unitType + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", manufacturerNumber='" + manufacturerNumber + '\'' +
                ", productDate=" + productDate +
                ", debugUnit='" + debugUnit + '\'' +
                ", installationNumber=" + installationNumber +
                ", installationSite='" + installationSite + '\'' +
                ", putDate=" + putDate +
                ", equipmentRating='" + equipmentRating + '\'' +
                ", equipmentStatus='" + equipmentStatus + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getIsMainEquipment() {
        return isMainEquipment;
    }

    public void setIsMainEquipment(String isMainEquipment) {
        this.isMainEquipment = isMainEquipment;
    }

    public String getMainEquipmentCode() {
        return mainEquipmentCode;
    }

    public void setMainEquipmentCode(String mainEquipmentCode) {
        this.mainEquipmentCode = mainEquipmentCode;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getEquipmentClassify() {
        return equipmentClassify;
    }

    public void setEquipmentClassify(String equipmentClassify) {
        this.equipmentClassify = equipmentClassify;
    }

    public String getUnitType() {
        return unitType;
    }

    public void setUnitType(String unitType) {
        this.unitType = unitType;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getManufacturerNumber() {
        return manufacturerNumber;
    }

    public void setManufacturerNumber(String manufacturerNumber) {
        this.manufacturerNumber = manufacturerNumber;
    }

    public Date getProductDate() {
        return productDate;
    }

    public void setProductDate(Date productDate) {
        this.productDate = productDate;
    }

    public String getDebugUnit() {
        return debugUnit;
    }

    public void setDebugUnit(String debugUnit) {
        this.debugUnit = debugUnit;
    }

    public int getInstallationNumber() {
        return installationNumber;
    }

    public void setInstallationNumber(int installationNumber) {
        this.installationNumber = installationNumber;
    }

    public String getInstallationSite() {
        return installationSite;
    }

    public void setInstallationSite(String installationSite) {
        this.installationSite = installationSite;
    }

    public Date getPutDate() {
        return putDate;
    }

    public void setPutDate(Date putDate) {
        this.putDate = putDate;
    }

    public String getEquipmentRating() {
        return equipmentRating;
    }

    public void setEquipmentRating(String equipmentRating) {
        this.equipmentRating = equipmentRating;
    }

    public String getEquipmentStatus() {
        return equipmentStatus;
    }

    public void setEquipmentStatus(String equipmentStatus) {
        this.equipmentStatus = equipmentStatus;
    }
}
